home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 4 / Meeting Pearls Vol. IV (1996)(GTI - Schatztruhe)[!].iso / Pearls / midi / misc / Midi2TeX / src / tp_heap1.h < prev    next >
C/C++ Source or Header  |  1994-03-21  |  2KB  |  56 lines

  1. /* Header for module TP_Heap1, generated by p2c */
  2.  
  3. #ifndef TP_HEAP1_H
  4. #define TP_HEAP1_H
  5.  
  6. #ifndef TP_DECL_H
  7. #include "tp_decl.h"
  8. #endif
  9. /* p2c: tp_heap1.pas, line 5:
  10.  * Note: Turbo Pascal conditional compilation directive was ignored [218] */
  11. /*$IFDEF PC*/
  12. /*$ENDIF*/
  13. #ifndef TP_MISC_H
  14. #include "tp_misc.h"
  15. #endif
  16. /* p2c: tp_debug.pas, line 49:
  17.  * Note: Turbo Pascal conditional compilation directive was ignored [218] */
  18.  
  19. #ifndef TP_DEBUG_H
  20. #include "tp_debug.h"
  21. #endif
  22.  
  23. #ifdef TP_HEAP1_G
  24. # define vextern
  25. #else
  26. # define vextern extern
  27. #endif
  28.  
  29. Void Append (HeapRecord *ThisList, NoteRecord *N);
  30. Void InitNotePool(void);
  31. Void KillNotePool(void);
  32. Void KillNoteLists (void);
  33. Void KillList(HeapRecord *ThisList);
  34. boolean Empty (HeapRecord ThisList);
  35. Void InsertOnTop(HeapRecord *ThisList, NoteRecord *N);
  36. Void Insert (HeapRecord *ThisList, NoteRecord *Nin, NoteRecord *N);
  37. Void Re_move(HeapRecord *ThisList, NoteRecord *N);
  38. Void FirstNote (HeapRecord ThisList, NoteRecord **N);
  39. Void LastNote (HeapRecord ThisList, NoteRecord **N);
  40. Void NextNote (NoteRecord *N, NoteRecord **P);
  41. Void PrevNote (NoteRecord *N, NoteRecord **P);
  42. Void ResetNoteRec (NoteRecord *N);
  43. Void BringFreeNote(NoteRecord *N);
  44. boolean EqualsNote (NoteRecord *N, uchar ThisNote);
  45. Void Exchange (HeapRecord *ThisList, NoteRecord **N1,
  46.           NoteRecord **N2);
  47. Char *NoteList2String (Char *Result, HeapRecord ThisList);
  48. Char *ChordNoteList2String (Char *Result, HeapRecord ThisList);
  49. NoteRecord *GetFreeNote(void);
  50. void _TP_Heap1_init(void);
  51. #undef vextern
  52. #endif /*TP_HEAP1_H*/
  53.  
  54. /* End. */
  55.  
  56.